FROM nginx:latest
 
COPY nginx.conf /etc/nginx/nginx.conf
COPY dist /usr/share/nginx/html/
 

 
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV LANG C.UTF-8
ENV PORT=80

EXPOSE $PORT

CMD ["nginx","-g","daemon off;"]